/**
 * Created by Bane.Shi.
 * Copyright MoenSun
 * User: Bane.Shi
 * Blog: http://blog.fengxiaotx.com
 * Date: 2017/3/28
 * Time: 14:11
 */
'use strict';
import React from "react";
import { Router, Route,IndexRoute, Link, browserHistory } from 'react-router';
import App from "../views/App";
import Test from "../views/Test";
import Ref from "../views/Ref";

class Routes extends React.Component {
    render(){
        return (
            <Router>
                <Route path={`/`} component={App}>
                    <Route path={`main`} component={Test} >

                    </Route>
                    <Route path={`ref`} component={Ref}/>
                </Route>
            </Router>
        );
    }
}
module.exports = Routes;